import { BaseTreeNodeEntity } from "./BaseTreeNodeEntity";
import type { SysMenuMode } from "./SysMenuMode";
import { SysMenuType } from "./SysMenuType";

export class SysMenu extends BaseTreeNodeEntity {
    code!: string;
    name!: string;
    description!: string | null;
    orderNo!: number;
    type!: SysMenuType;
    icon!: string | null;
    display!: boolean;
    mode!: SysMenuMode;
    url!: string;
    route!: string;
    path!: string;
    selector!: string | null;
    children: SysMenu[] = [];
}